public class ScheduledCallback implements Runnable {

    private Action<Callback> action;
    private Callback callback;

    public ScheduledCallback(Action<Callback> action,Callback callback) {
        this.action = action;
        this.callback = callback;
    }

    @Override
    public void run() {
        action.call(callback);
    }


}
